import http from "./http";

// 促销管理
export const salesApi = (parmas?: any) => http.get("/sales", parmas);

// 订单
export const orderApi = (parmas?: any) => http.get("/order", parmas);

// 优惠券
export const couponApi = (parmas?: any) => http.get("/coupon", parmas);
export const pageCalc = (parmas?: any) => http.get("/coupon", parmas);

//数据中心
export const customerDataApi = (parmas?: any) => http.get("/customer", parmas);

// 商品
export const goodsApi = (parmas?: any) => http.get("/goods", parmas);
